﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace im.transwin7scr
{
    /// <summary>
    /// Interaction logic for ScreenWindow.xaml
    /// </summary>
    public partial class ScreenWindow : Window
    {
        private bool TestMode;
        Config config;

        public ScreenWindow(bool test, bool preview, Config configs)
        {
            TestMode = test;
            config = configs;
            InitializeComponent();
        }

        private void Window_Initialized(object sender, EventArgs e)
        {
            if (!TestMode)
            {
                WindowState = WindowState.Maximized;
                WindowStyle = System.Windows.WindowStyle.None;
                Topmost = true;
                ShowInTaskbar = false;
                ShowActivated = true;
            }
        }
    }
}
